<?php
class delAction extends rareAction{
    public function execute(){}
    public function executePost(){
        $id = $this->getPostParam('id',0);
        if($id==0) jsonReturn(0,'错误的参数');
		$dao = new DaoVideo();
		$dao->del("id='$id'");
		jsonReturn(1,'ok');
    }
}
?>
